<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">
	
var CheckObject = function () {};
CheckObject.prototype = {
	checkName : function() {
		console.error('验证姓名');
	},
	checkEmail : function() {
		console.error('验证邮件');
	},
	checkPassword : function() {
		console.error('验证密码');
	}
}

var a = new CheckObject();
a.checkName();
a.checkEmail();
a.checkPassword();

console.error('----------------------');

a.__proto__.checkName();
a.__proto__.checkEmail();
a.__proto__.checkPassword();

</script>

</body>
</html>